home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14953 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  883 b 

  1. Path: gwu.edu!not-for-mail
  2. From: huyster@seas.gwu.edu (Huy T. Nguyen)
  3. Newsgroups: comp.lang.c
  4. Subject: Help w/ Using Semaphores
  5. Date: 16 Apr 1996 00:03:42 -0400
  6. Organization: George Washington University
  7. Message-ID: <4kv66u$211@felix.seas.gwu.edu>
  8. NNTP-Posting-Host: 128.164.9.3
  9.  
  10. Hi,
  11.  
  12. I'm looking for help with the use of semaphores.  I've read the man semaphore
  13. page but due to my limited experience in C, it's all Greek to me.  I'd
  14. appreciate any general examples anybody can provide, such as a few lines on
  15. how to use sema_init(), sema_trywait, etc.  Thanks in advance.
  16.  
  17. Regards,
  18.  
  19. Huy Nguyen
  20. -- 
  21. --  Internet: huyster@seas.gwu.edu -- http://gwis2.circ.gwu.edu/~huyster  --
  22. "I'm just an ordinary guy.  I happen to be brighter than you; I'm a better
  23. athlete; aspiring writer, cook, artist, fencer, musician; and to many a 
  24. lady, I am her hero.  Other than that, I'm just like you."
  25.